/* Chatbot Icon Styling */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
}
.chatbot-icon {
    width: 64px;
    height: 64px;
    cursor: pointer;
    border-radius: 50%;
}
/* Welcome Message Styling */
.welcome-message {
    position: absolute;
    bottom: 50%;
    right: 75px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 1.0);
    font-family: 'Agbalumo', sans-serif;
    font-size: 14px;
    width: 200px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1s ease, transform 1s ease;
}
.welcome-message.show {
    opacity: 1;
    transform: translateY(0);
}
.welcome-message.fade-out {
    opacity: 0;
    transform: translateY(20px);
}
/* Chat Window Styling */
.chat-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 4.0);
    display: none;
    flex-direction: column;
    z-index: 999;
}
.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #002B5C;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}
.chat-title {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.header-icon {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}
.chat-icons img {
    width: 25px;
    height: 25px;
    cursor: pointer;
    margin-left: 10px;
}
/* Chat Content */
.chat-content {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
/* Chat Message Styling */
.chat-message {
    display: flex; /* Align icon and message side-by-side */
    align-items: center;
    margin: 10px 0;
    padding: 8px 10px;
    border-radius: 10px;
}
/* New Styles for the Icon and Text Box Container */
.chat-message-container {
    display: flex; /* Align icon and text box horizontally */
    align-items: center;
    margin: 10px 0;
}
/* Bot Icon Container Styling */
.chat-icon {
    width: 35px; /* Adjusted width */
    height: 35px; /* Adjusted height */
    background-color: #ffffff; /* White background */
    border: 2px solid #002B5C; /* Dark blue border */
    border-radius: 50%; /* Makes it circular */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px; /* Spacing between icon and text box */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 2.0); /* Optional: Shadow for better look */
    box-sizing: border-box; /* Ensures padding/border is included in size */
}
/* Bot Icon Image Styling */
.bot-icon {
    width: 70%; /* Scaled down to fit within container */
    height: 70%; /* Scaled down to fit within container */
}
/* Bot Message Styling */
.chat-message.bot {
    background-color: #002B5C; /* Dark blue background */
    color: white;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    max-width: 400px; /* Limit message width */
    word-wrap: break-word; /* Wrap long messages */
}
/* User Icon Container Styling */
.user-icon-container {
    width: 35px;
    height: 35px;
    background-color: #ffffff; /* White background */
    border: 2px solid  #002B5C; /* Light blue border */
    border-radius: 50%; /* Makes it circular */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px; /* Spacing between text and icon */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 2.0); /* Optional: Shadow for better look */
    box-sizing: border-box; /* Ensures padding/border is included in size */
}
/* User Icon Image Styling */
.user-icon {
    width: 70%; /* Scaled down to fit within container */
    height: 70%; /* Scaled down to fit within container */
}
/* User Message Styling */
.chat-message.user {
    background-color: #e5e5e5; /* Light gray background */
    color: black;
    align-self: flex-end;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    max-width: 400px; /* Limit message width */
    word-wrap: break-word; /* Wrap long messages */
}
/* Chat Input */
.chat-input {
    display: flex;
    padding: 10px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}
.chat-input input {
    flex-grow: 1;
    width: 50px; /* Adjust width as needed */
    height: auto; /* Let height adjust naturally */
    padding: 5px; /* Reduced padding for compactness */
    border-radius: 8px; /* Optional: rounded corners */
    border: 1px solid #ccc;
    font-size: 14px; /* Adjust font size */
    line-height: normal; /* Ensure single-line behavior */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow content */
}
.send-icon {
    width: 60px; /* Increased width */
    height: 60px; /* Increased height */
    cursor: pointer;
    margin-left: 10px;
}
/* Minimize & Close Icon Styles */
.minimize-icon {
    cursor: pointer;
}
.close-icon {
    cursor: pointer;
}
